﻿<UserControl x:Class="MoleculeViewer.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:molecule="clr-namespace:MoleculeViewer"
    mc:Ignorable="d" d:DesignHeight="600" d:DesignWidth="800" >
    
    <Grid x:Name="LayoutRoot" Background="#FFB8CDE0" >

        <molecule:MoleculeViewerControl x:Name="MoleculeViewer" />
        
        <StackPanel Orientation="Vertical"  Margin="20, 250, 0, 0" HorizontalAlignment="Left">
            <ListBox x:Name="ListBoxMolecules" HorizontalAlignment="Stretch" VerticalAlignment="Top" MinWidth="100" SelectionChanged="ListBoxMolecules_SelectionChanged" />
        
            <Button x:Name="ButtonLoadFile" Content="Load molecule from file" Click="ButtonLoadFile_Click" HorizontalAlignment="Left" Margin="0, 10, 0, 0" />
        </StackPanel>
    </Grid>
</UserControl>
